public class UndertowHttpHandlerAdapter
extends java.lang.Object
HttpHandler
to the Undertow io.undertow.server.HttpHandler
.Modifier and Type | Class and Description |
---|---|
private class |
UndertowHttpHandlerAdapter.HandlerResultSubscriber |
Modifier and Type | Field and Description |
---|---|
private DataBufferFactory |
bufferFactory |
private HttpHandler |
httpHandler |
private static Log |
logger |
Constructor and Description |
---|
UndertowHttpHandlerAdapter(HttpHandler httpHandler) |
Modifier and Type | Method and Description |
---|---|
DataBufferFactory |
getDataBufferFactory() |
void |
handleRequest(HttpServerExchange exchange) |
void |
setDataBufferFactory(DataBufferFactory bufferFactory) |
private static final Log logger
private final HttpHandler httpHandler
private DataBufferFactory bufferFactory
public UndertowHttpHandlerAdapter(HttpHandler httpHandler)
public void setDataBufferFactory(DataBufferFactory bufferFactory)
public DataBufferFactory getDataBufferFactory()
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
java.lang.Exception